package com.ruoyi.business.rabbitmq.po;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class SignalInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String cmd;

    private Date dispatchTime;

    private Integer delay;

    private List<TaskInfo> tasks;

    public List<TaskInfo> getTasks() {
        return tasks;
    }

    public void setTasks(List<TaskInfo> tasks) {
        this.tasks = tasks;
    }

    public Integer getDelay() {
        return delay;
    }

    public void setDelay(Integer delay) {
        this.delay = delay;
    }

    public String getCmd() {
        return cmd;
    }

    public void setCmd(String cmd) {
        this.cmd = cmd;
    }

    public Date getDispatchTime() {
        return dispatchTime;
    }

    public void setDispatchTime(Date dispatchTime) {
        this.dispatchTime = dispatchTime;
    }

    @Override
    public String toString() {
        return "SignalInfo{" +
                "cmd='" + cmd + '\'' +
                ", dispatchTime=" + dispatchTime +
                ", delay=" + delay +
                '}';
    }
}
